<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Dettaglio</title>
</head>
<body>
   <form name="bacheca" method="post" action="BachecaServlet">
      <input type="hidden" name="username" value="<%=request.getParameter("session") %>">
      <input type="hidden" name="nome" value="<%=request.getParameter("nomeId") %>">
      <input type="hidden" name="cognome" value="<%=request.getParameter("cognomeId") %>">
   </form>
   <form name="notifiche" method="post" action="NotificheServlet">
      <input type="hidden" name="username" value="<%=request.getParameter("session") %>">
      <input type="hidden" name="nome" value="<%=request.getParameter("nomeId") %>">
      <input type="hidden" name="cognome" value="<%=request.getParameter("cognomeId") %>">
   </form>
    <form name="ricerca" method="post" action="Ricerca.jsp">
      <input type="hidden" name="id" value="<%=request.getParameter("session") %>">
      <input type="hidden" name="nome" value="<%=request.getParameter("nomeId") %>">
      <input type="hidden" name="cognome" value="<%=request.getParameter("cognomeId") %>">
   </form>
   <div id="menu-wrapper">
		<div id="menu">
			<ul>
			    <li><a href="javascript:document.bacheca.submit()">Bacheca</a></li>
			    <li><a href="javascript:document.notifiche.submit()">Notifiche</a></li>
			    <li><a href="MostraMioProfiloServlet?id=<%= request.getParameter("session") %>"><%= request.getParameter("nomeId") %><%= request.getParameter("cognomeId") %></a></li>
			    <li><a href="javascript:document.ricerca.submit()">Ricerca</a></li>
			    <li><a href="LogoutServlet?username=<%= request.getParameter("session")%>&user=utente">Logout</a></li>
			</ul>
		</div>
	</div>
	<div id="page">
		<div id="page-bgtop">
			<div id="page-bgbtm">
				<div id="content">
					<div class="post">
						<h2 class="title">DettaglioFeedback</h2>
						<div class="entry">  
							<p><%= request.getParameter("commento") %></p>
							<form name="dettaglio" method="post" action="ProfiloUtenteServlet">
							   <input type="hidden" name="session" value="<%=request.getParameter("session") %>">
							   <input type="hidden" name="nomeId" value="<%=request.getParameter("nomeId") %>">
							   <input type="hidden" name="cognomeId" value="<%=request.getParameter("cognomeId") %>">
							   <input type="hidden" name="username" value="<%=request.getParameter("utente") %>">
							   <input type="hidden" name="amico" value="<%= request.getParameter("amico") %>">
							   <input type="hidden" name="from" value="dettFeed">
							</form> 
							<a href="javascript:document.dettaglio.submit()">Torna al profilo di <%= request.getParameter("utente") %></a> 
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>